// home_6
// Mean in integers
#include<iostream>

int main()
{
	int count;
	int num=0;
	double sum=0.0;

	std::cout << "Enter integer:\n Exit->enter -1 " << std ::endl; 
	for(count=0; count<100; ++count)
	{
		std::cin >> num;
		if( -1 == num ) break; // exit point
		sum+= num;
	}
	std::cout << "Mean is: " << sum/count << std::endl;
	return 0;
}